/*
 * @Author: w_yy
 * @Date: 2023-03-17 14:03:02
 * @LastEditors: w_yy
 * @LastEditTime: 2023-03-21 16:05:09
 * @FilePath: \vue-project\src\main.js
 * @Copyright: 2023 沈阳东软智睿放疗技术有限公司
 * @Descripttion: 该文件用于OIS系统。版权由东软智睿放疗技术有限公司所有
 */
import { createApp } from "vue";
import { createPinia } from "pinia";
import "ant-design-vue/dist/antd.css";
import { setupPermissionDirective } from "./directives/premission";
import App from "./App.vue";
import router from "./router";
// import Card from "./components/Card.vue";

import "./assets/main.css";

const app = createApp(App);
setupPermissionDirective(app);
app.use(createPinia());
app.use(router);
// app.component(
//   //注册名字
//   "ZCard",
//   //组件的实现
//   Card
// );

app.mount("#app");
